package snake;

public class SnakePart
{
	public int x;
	public int y;
	public SnakePart next;
	
	public SnakePart(int x,int y)
	{
		this.x=x;
		this.y=y;
	}
	
	public SnakePart getNext()
	{
		return next;
	}
	
	public void setNext(SnakePart s)
	{
		next=s;
	}
	
}
